<%- include('../../common/header.html',{css:'common'}) %>
<%- include('../../common/header-font-awesome.html') %>
<%- include('../../common/script-jquery.html') %>
<link rel="stylesheet" media="all" href="./../../styles/bill.css">
<link rel="stylesheet" media="print" href="./../../styles/bill.print.css">
<title>打印</title>
<!--介绍信模板  BEGIN -->
<script type="application/xhtml+xml" id="template-intro">
    <span style="font-size: 10pt;"><$=storeFax$></span>
    <h1 class="enableEdit" style="text-align: center;font-weight: bolder;font-family: KaiTi;font-size: 24pt;">
    上海海鹏化工科技有限公司提单</h1>
    <div style="text-align: right;font-size: 12pt;">提单号：
    <$=no$>
    </div>
    <div style="width: 100%;">
    <div>
        <h3 style="font-size: 18pt;">
            <$=storeName $>：
        </h3>
    </div>
    </div>
    <p style="text-indent: 30px;font-size: 18pt;">
    <span class="enableEdit">兹有我司委派</span><span class="print-text"><$=carId $></span><span
            class="enableEdit">凭其有效提货凭证提取</span>
    <span class="print-text"><$=qualitySpec $></span>
    <$=goodsName $><span class="print-text"><$=number $>吨</span>，<span class="enableEdit">请发货为感。有效期至</span><span
            class="print-text"><$=moment(expireTime).format('YYYY年MM月DD日')$>。</span>
    <span style="display: block;"><span class="enableEdit">提货仓库：</span><span class="print-text"><$=shortName$></span></span>
    <p class="enableEdit" style="font-size: 18pt;text-align: center;">商祺!</p>
    <p style="font-size: 18pt;padding-left: 60px;position: relative;min-height: 66px;">
        <span style="position: absolute;left: -4px;">备注：</span>

        <$
        var index_ = 0;

        $>
        <$ list.map(function(item,index){
        $>
        <span style="display: block;"><span class="enableEdit"><$=(index+index_+1)$>、提<$=item.billBatch.split('-')[2]$>转给我司的货。</span></span>
        <$})
        index_ += list.length;
        if(typeof driver != 'undefined'){$>
        <$
        }else{
        $>
        <span style="display: block;"><span class="enableEdit"></span></span>
        <$}$>
    </p>
    <div class="change" style="text-indent: 30px;font-size: 18pt;">
    </div>
    <p style="font-size: 18pt;">
        <span class="enableEdit"> 制单人：李英玉</span> <span style="float: right;"><span class="enableEdit">制单日期</span>：<$=moment(new Date()).format('YYYY年MM月DD日')$></span>
    </p>
    <p class="signature-table" style="font-size: 18pt;position: relative;">
        <span style="display: block;">1、我司联系电话：<$=depTel $> </span>
        <span style="display: block;">2、我司联系传真：<$=depFax $></span>
        <span style="display: block;">3、此单加盖我司合同专用章有效。</span></p>
</script>
<!--介绍信模板 END-->
<!--转货权模板 BEGIN-->
<script type="application/xhtml+xml" id="template-transfer">
    <span style="font-size: 12pt;"><$=storeFax$></span>
    <h1 class="enableEdit" style="text-align: center;font-size: 24pt;">上海海鹏化工科技有限公司提单</h1>
    <div style="text-align: right;font-size: 12pt;">单号：
    <
    $=no$>
    </div>
    <div style="width: 100%;">
    <div>
        <h3 style="font-size: 18pt;">
            <
            $=storeName $>：
        </h3>
    </div>
    </div>
    <p style="text-indent: 30px;font-size: 18pt;">
    <span class="enableEdit">兹有我司委派</span><span class="print-text"><$=carId $></span><span
            class="enableEdit">凭其有效提货凭证提取</span>
    <
    $=qualitySpec $>
    <
    $=goodsName $><span class="print-text"><$=number $></span>吨，<span class="enableEdit">请发货为感。此提单为转货权,免仓至</span>
    <span class="print-text"><$=moment(expireTime).format('YYYY年MM月DD日')$></span>，从<span class="print-text">
    <$=moment(parseFloat(expireTime)+1000*60*60*24).format('YYYY年MM月DD日')$></span>起由其承担仓储费。
    <span style="display: block;"><span class="enableEdit">提货仓库：</span><span class="print-text"><$=shortName$></span></span>
    </p>

    <p class="enableEdit" style="font-size: 18pt;text-align: center;">商祺!</p>
    <p style="font-size: 18pt;padding-left: 60px;position: relative;min-height: 66px;">
    <span style="position: absolute;left: -4px;">备注：</span>
    <
    $if(typeof driver != 'undefined'){$>
    <span style="display: block;"><span class="enableEdit">1、司机若未带身份证原件，可凭驾驶证提货。</span></span>
    <span style="display: block;"><span class="enableEdit">2、司机：<$=driver$>/<$=IDCard $></span></span>
    <span style="display: block;"><span class="enableEdit">3、提张家港保税区恒乐化工品有限公司转给我司的货</span></span>
    <
    $}else{
    $>
    <
    $ list.map(function(item,index){
    $>
    <span style="display: block;"><span class="enableEdit"><$=index+1$>、提<$=item.billBatch.split('-')[2]$>转给我司的货。</span></span>
    <
    $})$>
    <
    $}$>
    </p>
    <div class="change" style="text-indent: 30px;font-size: 18pt;">
    </div>
    <p style="font-size: 18pt;">
    <span class="enableEdit"> 制单人：李英玉</span> <span style="float: right;"><span class="enableEdit">制单日期</span>：<$=moment(new Date()).format('YYYY年MM月DD日')$></span>
    </p>
    <p class="signature-table" style="font-size: 18pt;position: relative;">
    <span style="display: block;">1、我司联系电话：<$=depTel$></span>
    <span style="display: block;">2、我司联系传真：<$=depFax $></span>
    <span style="display: block;">3、此单加盖我司合同专用章有效。</span></p>
</script>
<!--转货权模板 END-->
<!--车号模板 BEGIN-->
<script type="application/xhtml+xml" id="template">
    <span style="font-size: 10pt;"><$=storeFax$></span>
    <h1 class="enableEdit" style="text-align: center;font-weight: bolder;font-family: KaiTi;font-size: 24pt;">
    上海海鹏化工科技有限公司提单</h1>
    <div style="text-align: right;font-size: 12pt;">提单号：
    <
    $=no$>
    </div>
    <div style="width: 100%;">
    <div>
        <h3 style="">
            <
            $=storeName $>：
        </h3>
    </div>
    </div>
    <p style="text-indent: 30px;font-size: 18pt;">
    <span class="enableEdit">兹有</span><span class="print-text"><$=carId $></span><span
            class="enableEdit">凭此单到贵处提取</span>
    <
    $=qualitySpec $>
    <
    $=goodsName $><span class="print-text"><$=number $></span>吨，<span class="enableEdit">请发货为感。此单有效期</span><span
            class="print-text"><$=moment(expireTime).format('YYYY年MM月DD日')$></span>
    <span style="display: block;"><span class="enableEdit">提货仓库：</span><span class="print-text"><$=shortName$></span></span>
    </p>
    <p class="enableEdit" style="font-size: 18pt;text-align: center;">商祺!</p>
    <p style="font-size: 18pt;padding-left: 60px;position: relative;min-height: 66px;">
    <span style="position: absolute;left: -4px;">备注：</span>

    <
    $
    var index_ = 0;

    $>
    <
    $ list.map(function(item,index){
    $>
    <span style="display: block;"><span class="enableEdit"><$=(index+index_+1)$>、提<$=item.billBatch.split('-')[2]$>转给我司的货。</span></span>
    <
    $})
    index_ += list.length;
    if(typeof driver != 'undefined'){$>
    <span style="display: block;"><span class="enableEdit"><$=(index_+1)$>、司机若未带身份证原件，可凭驾驶证提货。</span></span>
    <span style="display: block;"><span class="enableEdit"><$=(index_+2)$>、司机：<$=driver$>/<$=IDCard $></span></span>
    <
    $
    }else{
    $>
    <span style="display: block;"><span class="enableEdit"></span></span>
    <
    $}$>
    </p>
    <div class="change" style="text-indent: 30px;font-size: 18pt;">
    </div>
    <p style="font-size: 18pt;">
    <span class="enableEdit"> 制单人：李英玉</span> <span style="float: right;"><span class="enableEdit">制单日期</span>：<$=moment(new Date()).format('YYYY年MM月DD日')$></span>
    </p>
    <p class="signature-table" style="font-size: 18pt;position: relative;">
    <span style="display: block;">1、我司联系电话：<$=depTel $> </span>
    <span style="display: block;">2、我司联系传真：<$=depFax $></span>
    <span style="display: block;">3、此单加盖我司合同专用章有效。</span></p>
</script>
<!--车号模板 END-->
</head>
<body class="sub-body">
<table id="signature">
    <tr>
        <td class="title">选择签章</td>
    </tr>
    <tr>
        <td>
            <img src="http://127.0.0.1/thumbnail/2017-07/f38366f0a94743d8af148c6aaaac09ae_big.png">
            <i class="fa fa-check" aria-hidden="true"></i>
        </td>
    </tr>
    <tr>
        <td style="border: none;border-top: 1px solid #00A0E9;">
            <i class="fa fa-check" aria-hidden="true"></i>
            <img src="http://127.0.0.1/thumbnail/2017-07/f38366f0a94743d8af148c6aaaac09ae_big.png">
        </td>
    </tr>
    <tr>
        <td style="border: none;border-top: 1px solid #00A0E9;">
            <i class="fa fa-check" aria-hidden="true"></i>
            <img src="http://127.0.0.1/thumbnail/2017-07/f38366f0a94743d8af148c6aaaac09ae_big.png">
        </td>
    </tr>
</table>
<div class="btn-group">
    <a href="javascript:void(0);" hidefocus="true" class="btn btn-primary  print ">
        <i class="fa fa-print" aria-hidden="true"></i> 打印
    </a>
    <a href="./upload.html" hidefocus="true" class="btn btn-primary   upload before">
        <i class="fa fa-cloud-upload" aria-hidden="true"></i> 上传
    </a>
    <a href="javascript:void(0)" hidefocus="true" target="_blank"
       class="btn btn-primary   preview-upload "
       style="display: none;">
        <i class="fa fa-cloud-upload" aria-hidden="true"></i> 预览
    </a>
    <a href="#" target="_blank" hidefocus="true" class="btn btn-primary   upload-preview"
       style="display: none">预览上传合同</a>
    <a href="javascript:void(0);" hidefocus="true"
       class="btn btn-primary noprint edit-save" style="display: none;">
        <i class="fa fa-floppy-o" aria-hidden="true"></i> 保存
    </a>
    <a href="javascript:void(0);" hidefocus="true"
       class="btn btn-primary noprint edit before">
        <i class="fa fa-pencil-square-o" aria-hidden="true"></i> 编辑
    </a>
    <a href="javascript:void(0);" hidefocus="true"
       class="btn btn-primary noprint  last-edit before">
        <i class="fa fa-envelope-open-o" aria-hidden="true"></i> 打开保存
    </a>
    <a href="javascript:void(0);" hidefocus="true" target="_blank"
       class="btn btn-primary to-pdf">
        <i class="fa fa-file-pdf-o" aria-hidden="true"></i> PDF下载
    </a>
    <a href="javascript:void(0);" hidefocus="true" class="btn btn-primary apply">
        申请签章
    </a>
    <a href="javascript:void(0);" hidefocus="true" class="btn btn-primary authorized">
        授权签章
    </a>
    <a href="javascript:void(0);" hidefocus="true"
       class="btn btn-primary bill-change disabled">
        提单变更
    </a>
</div>
<!--startprint-->
<div id="contract">
        加载中....
</div>
<!--endprint-->
</body>
<!-- build:js ../../scripts/store/exprpaper2.jsr.js  -->
<script type="text/javascript" src="./paper1.js"></script>
<!-- endbuild -->
</html>